package com.czl.elm.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;
import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "foodmenu")
@ApiModel(value="FoodMenu对象", description="")
public class FoodMenu {

    @Id
    @ApiModelProperty(value = "商店编号")
    private int shopid;

    @ApiModelProperty(value = "商店菜单map")
    private Map<String,List<String>> shopMap;
}
